PSaveAs(const char * fPubname, eKind cKind = kKindPublication, eCopy cCopyWhat = kCopyNone, PMBool bPreview = false);
const char * fPubname;
Exact name and path (optional) of the publication to save (maximum of 91 characters, including path)(Windows only) Include the appropriate filename extension:
Using PSaveAs command. Use PSaveAs to do the following:
- .pm6 (PageMaker 6.5 publication),
- .pt6 (PageMaker 6.5 template),
- .pm5 (if cKind is kKind50Format), or
- .pt5 (if cKind is kKind50Format and you want the publication to be a template)
eKind cKind;
kKindPublication (the default)
kKindTemplate (in Windows, include the extension .pt6 in the filename)
kKind50Format for PageMaker 5.0 format, so the publication can be opened in PageMaker 5.0 (in Windows, include the extension .pm5 in the filename)eCopy cCopyWhat;
kCopyNone (the default) to save only the publication, not the linked files
kCopyRemote to copy all files that are needed to print that publication into one folder, including any linked files and special files that contain instructions for composing the publication (such as the track-kerning resource file)
kCopyLinked to copy all externally located files to the folder in which the publication is being savedPMBool bPreview;
false to save the publication without a Fetch preview (the default)
true to save a Fetch preview with the publication
Links not saved in cases of low disk space. If you specify linked for the cCopyWhat parameter and there is not enough room for both the publication and its linked files, PageMaker displays an alert message and does not copy the linked files.
Saving templates in Windows. To save a publication as a template in Windows, you must specify the filename extension ".pt6." PageMaker for Windows uses the extension to distinguish between templates and publications.
Saving as 5.0 format. If you specify cKind as 50format or 2, PageMaker disregards the cCopyWhat and bPreview parameters.
Example. The following example saves "mypub" as a publication, copies all documents linked to "mypub," and does not include a Fetch preview with the publication (the default setting when the parameter is omitted).
PSaveAs("myfloppy:myfolder:mypub", 0, copy_linked, 0);
Comments or suggestions? Contact Adobe Developer Support